Merge "Rename WikiPage::isParserCacheUsed to WikiPage::shouldCheckParserCache"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 23 Jun 2015 04:14:15 +0000 (04:14 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 23 Jun 2015 04:14:15 +0000 (04:14 +0000)
.gitattributes
tests/qunit/suites/resources/jquery/jquery.mwExtension.test.js

index 50ca329..69d7b1b 100644 (file)
@@ -1 +1,2 @@
 *.sh eol=lf
+*.icc binary
index 795c2bb..911e9d0 100644 (file)
@@ -1,5 +1,14 @@
 ( function ( $ ) {
-       QUnit.module( 'jquery.mwExtension', QUnit.newMwEnvironment() );
+       QUnit.module( 'jquery.mwExtension', QUnit.newMwEnvironment( {
+               // This entire module is deprecated.
+               // Surpress deprecation warnings in test output.
+               setup: function () {
+                       this.suppressWarnings();
+               },
+               teardown: function () {
+                       this.restoreWarnings();
+               }
+       }) );
 
        QUnit.test( 'String functions', 7, function ( assert ) {
                assert.equal( $.trimLeft( '  foo bar  ' ), 'foo bar  ', 'trimLeft' );